Server-Based Backup System for User Data

ABSTRACT

A host system sends a web page to a client system via a communications network, and receives inputs from the client system, via the communications network, that include user text inputs to the web page. The inputs are received without receiving from the client system, via the communications network, a user-initiated command that would require saving user inputs to the web page. The host system makes incremental changes to a backup copy of user inputs to the web page, stored at the host system, in accordance with the received inputs. In accordance with detection by the host system of a restart condition for the web page corresponding to prior closure of the web page at the client system, the host system sends the backup copy to the client system for presentation to a user of the client system.

RELATED APPLICATIONS

The present application is a continuation of U.S. patent applicationSer. No. 15/665,320, filed Jul. 31, 2017, which is a continuation ofU.S. patent application Ser. No. 14/538,550, filed Nov. 11, 2014, nowU.S. Pat. No. 9,736,237, which is a continuation of U.S. patentapplication Ser. No. 11/414,752, filed on Apr. 28, 2006, now U.S. Pat.No. 8,886,706, which is a continuation-in-part of U.S. patentapplication Ser. No. 11/172,700, filed on Jun. 30, 2005, and which isalso a continuation-in-part of U.S. patent application Ser. No.11/094,763, filed on Mar. 31, 2005, now U.S. Pat. No. 8,694,589, all ofwhich are hereby incorporated by reference in their entireties.

FIELD OF THE INVENTION

The present invention relates generally to backup systems, and morespecifically to an embedded archiving tool for backing up user-provideddata on a server.

BACKGROUND

A wide variety of application programs may be executed on clientcomputers. These include programs that are implemented in aclient-server system using a network, such as the World Wide Web, whichis also referred to as the Internet. These application programs offerusers a broad array of functionality and help users perform complicatedtasks and improve their overall productivity.

Backing up or storing current content that has been provided by users ofapplication programs that are implemented on existing client-serversystems, for example, as a locally stored saved-draft file, may beproblematic. For example, the application programs may not have thenecessary privileges to allow local storage of saved draft files on theclient computers. And while saved-draft files may be stored on a server,waiting for a respective user to initiate such archiving may also bechallenging. If a service error, such as a network or network interfacefailure, interrupts such an application program before the saved-draftfile has been created, the current content provided by the respectiveuser may be inadvertently lost.

There is a need, therefore, for an improved backup system forapplications programs operating in client-server systems.

SUMMARY

A method of archiving content is described. A web page corresponding toan application program is transmitted to a client computer using anetwork. The web page includes instructions corresponding to an embeddedarchiving tool. The embedded archiving tool is to store content providedto the web page by a user. The content is stored on a server remotelylocated from the client computer when an archiving condition issatisfied.

The application program may include an electronic messaging program. Theapplication program may include an email application, a text processor,a spread sheet application, a presentation authoring tool, a blogauthoring tool, a webpage-based form for entering information to bestored in a server, a web-page authoring tool, and/or an advertisingprogram registration tool. More generally, the method of archivingcontent, and the archiving tool, can be used in conjunction withvirtually any application program that accepts user-edited information.

The archiving condition may be satisfied when at least a pre-definedtime has elapsed since a previous instance of storing content on theserver, when at least a pre-determined number of modifications to thecontent have occurred, and/or when a length of the content increases byat least a pre-defined amount.

The content may include the content of an electronic message and/or oneor more attachments to an electronic message.

The storing may be delayed if the user has modified the content withinat least a preceding time interval and/or if the user is currentlyattaching one or more attachments to the content.

The archiving condition may include closing of the application programand/or closing of a browser.

The stored content may be compressed using a compression algorithmand/or encrypted using an encryption algorithm.

The instructions in the web page may include performing the storing inresponse to the user activating a save icon. Storing of the content mayinclude generating a store request, constructing content to be stored onthe server (where the content to be stored corresponds to the content inthe application program), and/or transmitting the content to be storedto the server. In some embodiments, a copy of the content on the clientcomputer is generated when the store request is generated.

In some embodiments, the save icon in the web page is highlightedwhenever the content includes any modifications not stored on theserver, and the highlighting of the save icon is removed whenever thecontent is stored on the server.

In some embodiments, the copy of the content is compared to the contentto be stored prior to the transmission of the content to be stored. Thehighlighting of the save icon may be removed only if the copy of thecontent and the content to be stored are equivalent.

In some embodiments, a content-saved message is displayed when the userre-starts the application program and/or the browser. In someembodiments, at least a subset of the stored content is reconstructedand presented to the user when a restart condition is detected.

In another embodiment, a web page corresponding to an applicationprogram is received at a client computer using a network. The web pageincludes executable instructions corresponding to an embedded archivingtool. The embedded archiving tool is to store content provided to theweb page by a user. The content is stored on a server remotely locatedfrom the client computer when an archiving condition is satisfied.

One or more embodiments may be implemented as a computer readablestorage medium that includes an embedded computer program mechanism. Inanother embodiment, a computer may include memory, a processor and aprogram for archiving content. The program for archiving content maycorrespond to one or more embodiments. The program may be stored in thememory and executed by the processor. In other embodiment, informationcorresponding to one or more embodiments may be communicated between aserver and a client computer using a network.

The challenges associated with existing archiving approaches may bereduced and/or eliminated by the aforementioned embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the invention, reference should be made tothe following detailed description taken in conjunction with theaccompanying drawings, in which:

FIG. 1 is a flow diagram illustrating an embodiment of interactionbetween a client and a server.

FIG. 2 is a flow diagram illustrating an embodiment of interactionbetween a client and a server.

FIG. 3 is a flow diagram illustrating an embodiment of a method ofrestoring content.

FIG. 4 is a flow diagram illustrating an embodiment of a method ofstoring content.

FIG. 5A is a block diagram illustrating a message composition form orpage of an email application program.

FIG. 5B is a block diagram illustrating a message composition form orpage of an email application program.

FIG. 6 is a block diagram illustrating an embodiment of a server.

FIG. 7 is a block diagram illustrating an embodiment of a clientcomputer.

FIG. 8 is a block diagram illustrating an embodiment of a server datastructure.

FIG. 9 is a block diagram illustrating an embodiment of a cookie file.

Like reference numerals refer to corresponding parts throughout thedrawings.

DETAILED DESCRIPTION OF EMBODIMENTS

Reference will now be made in detail to embodiments, examples of whichare illustrated in the accompanying drawings. In the following detaileddescription, numerous specific details are set forth in order to providea thorough understanding of the present invention. However, it will beapparent to one of ordinary skill in the art that the present inventionmay be practiced without these specific details. In other instances,well-known methods, procedures, components, and circuits have not beendescribed in detail so as not to unnecessarily obscure aspects of theembodiments.

A system and method of archiving user content is disclosed. In someembodiments, an archiving tool is embedded in web-page instructionstransmitted from a server to a client computer using a network, such asan intranet and/or the Internet, which is also referred to as the WorldWide Web (WWW). When the web-page instructions are rendered by a browser(such as Netscape Navigator™, Internet Explorer™, Firefox™ or Safari™)or a standalone program that displays a structured document such as aweb page on the client computer, the embedded archiving tool may be usedto archive content provided by the user to an application program viathe web page. Thus, the embedded archiving tool may execute in thebrowser environment, which in this context functions as a virtualmachine.

The application program may be implemented in a client-server system.The application program may include an electronic messaging program. Insome embodiments, the application program may include an emailapplication, a text processor, a spread sheet application, apresentation authoring tool, a blog authoring tool, a webpage-based formfor entering information to be stored in a server, a web-page authoringtool, and/or an advertising program registration tool. More generally,the method of archiving content, and the archiving tool, can be used inconjunction with virtually any application program that acceptsuser-edited information. The embedded archiving tool may be written inJavaScript™ (a trademark of Sun Microsystems, Inc.), ECMAScript (thespecification for which is published by the European ComputerManufacturers Association International), VBScript™ (a trademark ofMicrosoft, Inc.) and/or any other client-side scripting language. Inother words, the embedded archiving tool includes programs or procedurescontaining JavaScript, ECMAScript instructions, VBScript instructions,or instructions in another programming language suitable for renderingby the browser or another client application.

The embedded archiving tool may store content provided to the web pageand/or the application program by a user. The content may include thecontent of an electronic message and/or one or more attachments to anelectronic message. The content may be stored on a client computerand/or on a server computer located remotely from the client computer.The storing may include creating or updating one or more archive files.The storing of at least a portion of the content may occur when anarchiving condition is satisfied. The archiving condition may includewhen a user provides or changes the content (for example, after acharacter is typed on a user interface device such as a keyboard) and/orafter a pre-determined time interval (for example, a few seconds, a fewtens of seconds or a few minutes) since the user started providing orchanging the content. In some embodiments, the archiving condition maybe satisfied when a user activates a save icon in the applicationprogram, when at least a pre-defined time has elapsed since a previousinstance of storing the content (for example, if more than 2 minuteshave elapsed since the most recent instance of storing), when at least apre-defined time has elapsed since a previous instance of modifying thecontent (for example, if more than 2 minutes have elapsed since the mostrecent instance of modifying the content), when at least apre-determined number of modifications to the content have occurred (forexample, 100 modifications), when a length of the content increases byat least a pre-defined amount, and/or when the application programand/or browser is closed. For example, the archiving condition issatisfied after 2 minutes since a most recent modification of thecontent or 100 modifications (e.g., the addition or deletion of 100characters), which ever comes first.

In some embodiments, periodic updates to the archive files may be madewhenever the user has entered any new content or has modified any of thepreviously entered content. In some embodiments, the storing may bedelayed if the user has modified the content within at least a precedingtime interval. For example, if the user has modified the content in thelast 2 seconds the storing may be delayed by 2 seconds to preventarchiving while the user is modifying the content. In some embodiments,the storing may be delayed if the user is currently attaching one ormore attachments to the content. In some embodiments, a timer that istracking an elapsed time since a most recent instance of storing may besuspended while the user is attaching an attachment.

In some embodiments, the one or more archive files may be initiallystored on the client computer and at least a subset of the contentstored in the one or more archive files may be subsequently stored onthe server. In these embodiments, a corresponding subset of the contentthat was previously stored on the client computer (in the one or morearchive files) may be erased, deleted or overwritten when at least thesubset of the content is stored on the server. In some embodiments, theone or more archive files may be stored on the client computer and onthe server. From a general viewpoint, the archiving tool uses archivefiles to store user-provided content that may be needed by the user inthe future. When user-provided content or information is no longerneeded by the user, the content or information in one or more archivefiles, on the client computer and/or the server, may be deleted.

When the user has completed providing the content to the applicationprogram (for example, a final version of the content is provided) andthe user instructs the application program that he or she is finished(for example, the user hits a send button or icon in an emailapplication program), the one or more archive files stored on the clientcomputer and/or the server may be deleted, erased or overwritten. Insome embodiments, the one or more archive files may expire, and may bedeleted, erased or overwritten, after a certain amount of time (e.g., 24hours, 168 hours, or a month) has elapsed since the one or more archivefiles were created or last updated.

The browser may keep track of which archive files exist and/or whicharchive files have been created. If the application program and/or thebrowser is shut down, either intentionally or unintentionally, orcommunication with the application program and/or the browser istemporarily disrupted (for example, due to a network failure), the oneor more archive files may be used to reconstruct and present at leastsome of the content to the user. For example, if the user restarts theapplication program (for example, the user attempts to download a webpage associated with the application program) and a presence of the oneor more archive files is detected, a restart condition is detected andat least some of the content is reconstructed and presented to the user.In some embodiments, the content may be reconstructed on the clientcomputer. In other embodiments, the content may be reconstructed on theserver. In other embodiments, the content may be partially reconstructedon the client computer and partially reconstructed on the server. Forexample, during a restart one or more locally stored archive files maybe sent to the server and the server may return a web page orinstructions for a web page including the content that was stored in theone or more archive files and/or content that was stored on the server.

In some embodiments, the deletion of the archive files may not takeplace until the server positively notifies the client code that the saveaction has completed successfully. This may happen, for example, whenthe client issues its next request to the server.

In some embodiments, the one or more archive files may include cookiefiles or cookies. The cookie files may include the content provided bythe user and/or the user data. The cookie files may be stored locally,i.e., on the client computer. In some embodiments, some or all of thecontent stored on the server may be stored on the server as cookie filesand/or using another file format.

Typically, cookie files are computer-generated files that are issued tothe client computer by a “cookie server,” i.e., a host server,associated with a universal resource locator (URL) either before orwhile the URL is electronically contacted by the client computer. Whilecookie files are typically created by a host server, cookie files canalso be created and/or updated by a client. For example, the embeddedarchiving tool may create and store a cookie file directly in a cookiecache of the client computer. The cookie files are transparent and maybe automatically enabled by an operating system (such as WINDOWS)without special security privileges. In addition to user cookies,archive files may be implemented using “userData” stores or objects, andother types of data storage files, objects and the like. The term“cookie file” is sometimes used in this document to mean any type ofarchive file that is used to store user data or backup data associatedwith a web page or network-implemented application.

As noted above, the one or more cookie files, and more generally, thearchive files, may be generated locally by the embedded archiving toolin a web page. Alternatively, the one or more cookie files and/orarchive files may be generated on the server, i.e., the content may betransmitted to the server and the corresponding one or more cookie filesand/or archive files may be generated. The resulting cookie files and/orarchive files may be stored on the server and/or transmitted back to theclient computer for local storage. In some embodiments, cookie filesand/or archive files may be stored in memory in the client computer(such as cookie cache) or in data structures other than traditionalfiles, such as records in a database.

Typically, the browser restricts cookie files based on a name space(such as an Internet protocol address or domain name). As a consequence,in embodiments where the archive files include cookies, the embeddedarchiving tool may assign a domain name or URL to a respective cookie.In some embodiments, the domain name or URL in the respective cookie maybe fictitious, i.e., the domain name or URL may only have meaning to theembedded archiving tool. The one or more cookie files may also includetime stamps corresponding to when the content was archived and/orposition or location information. The latter may be useful forapplication programs that have multiple fields in a window or a browserwindow. (A “window” or “browser window” comprises a virtual graphicaldisplay area for viewing a web page, HTML file, extensible markuplanguage or XML file, or the like. A “window” typically corresponds to a“tab” or “window” or the like in various browser programs.)

Depending on a size of the content, one or more archive files may beused by the embedded archiving tool. (For example, typically, cookiefiles are restricted to a size of 4 kilobytes.) In some embodiments,additional content is appended to one or more of the archive files, asneeded, during archiving. During reconstruction, the embedded archivingtool and/or code executed on the client computer and/or the server maystitch the one or more archive files together and/or arrangecorresponding content in an appropriate temporal order or relativespatial position (for example, in a “window”).

To help reduce a size of one or more archive files, in some embodimentsat least a portion of the content may be compressed using a compressionalgorithm. In some embodiments, at least a portion of the content may beencrypted using an encryption algorithm. This may allow the privacy ofthe content to be protected, especially if the client computer is usedby two or more users. Encryption may include symmetric encryption and/orpublic key encryption. In embodiments that include encryption, theserver may provide a decryption key, as needed, by the embeddedarchiving tool.

In some embodiments, the archiving tool is added to a web page byinserting a single instruction (e.g., a JavaScript instruction) into theweb page. The inserted instruction loads the archiving tool from theserver into the client. In one version of this embodiment, the archivingtool is a general tool that is not specific to any particular web page.When loaded into the client, the tool examines the web page to identifythe fields in which a user may enter content, and then tracks and storescontent entered into those fields. In other versions, the archiving toolmay be customized to a particular web page or family of web pages, so asto eliminate or simplify the task of identifying the fields of the webpage in which a user may enter content.

While the preceding discussion described embodiments where the archivingtool is embedded in a web page, in other embodiments the archiving toolmay be resident or installed on the client computer.

Attention is now directed towards embodiments of an embedded archivingtool for backing up user-provided data. FIG. 1 is a flow diagramillustrating an embodiment of an information archiving method 100 forstoring content, entered by a user into a web page or other online format a client 112, on a server 110. A web page including an embeddedarchiving tool is transmitted (114) to the client 112. The web pageincluding the embedded archiving tool is received (116) by the client112. Whether or not an archiving condition is satisfied is determined(118). For example, a store icon may be activated by the user. In someembodiments, a store request may be generated when the archivingcondition is satisfied. Content to be stored is constructed (120). Alocal copy of the content to be stored is optionally generated (122).The local copy may be optionally stored in one or more cookie files onthe client 112. For example, the local copy of the content is optionallystored in one, two or more cookie files.

During normal operation, such as when the user performs an action thatindicates completion of a web page form, or upon the occurrence ofanother event, information corresponding to the content is transmitted(124) to the server 110. In some embodiments, the information locallystored in one or more cookie files is transmitted to the server 110 whenthe amount of data stored in the one or more cookie files exceeds apredefined limit or threshold. For instance, this may be done to avoidexceeding a data storage limit associated with the cookie files, and tofree up space to store more backup data.

The information corresponding to the content is received and stored(126) at the server 110. In some embodiments, the server 110 sends anacknowledgement of receipt of the information to the client 112. In someembodiments, the acknowledgement of receipt is not sent until theinformation has been successfully and durably stored by the server 110.Upon receiving the acknowledgement, the client 112 may delete one ormore cookie files corresponding to the information that has been storedby the server. In some embodiments, the “acknowledgment” may be a cookiefile deletion command sent by the server 110 to the client 112.

In some embodiments, an instance of operations 124 and 126 may notperformed if the user or client 112 closes the web page prior to thecontent being transmitted to the server 110, or a failure or other eventat the client 112 prevents the browser from sending the content to theserver 110. When any such intervening event occurs, a recovery processis performed, as will be described below with respect to FIG. 2.

The information archiving method 100 may include fewer operations oradditional operations. In addition, two or more operations may becombined and/or the order of the operations may be changed.

FIG. 2 is a flow diagram illustrating an embodiment of a method 200 ofrecovering archived information. A restart of an application programand/or a browser after a crash or accidental closure is detected (210).A web page is requested (212) by a user of the client computer 112. Userverification information is optionally transmitted by the client 112 tothe server 110 along with the web page request (212). The verificationinformation may help prevent one user from accessing content, such asthat stored in one or more archive files, corresponding to another user.The verification information may include a user name and/or a userpassword. The server 110 receives a request for the web page and storedcontent, as well as optional user verification information (214). Theserver 110 transmits the web page, including the embedded archivingtool, and the stored content (216). The client 112 receives the web pageand the stored content (218).

In some embodiments the restart condition is detected by the embeddedarchiving tool, for example, by detecting an existence of one or morecookie files on the client 112 that contain stored or archived content.In other embodiments, the restart condition is detected by the server,either by the existence of one or more archive files on the server 110and/or by sending a request to the client 112 for cookie filescorresponding to a particular URL. In the latter case, if the client 112responds by sending cookie files with archived content, a restartcondition is detected. It should be noted that in embodiments in whichthe restart condition is detected by the server 110, a cookie request(if any) would typically be sent to the client 112 prior to sending theweb page to the client 112.

Once a restart condition is detected, at least a subset of the contentstored in the one or more cookie files and/or one or more archive filesis reconstructed (220) and presented (222) to the user in the context ofthe web page. In embodiments in which the restart condition is detectedby the embedded archiving tool, the reconstructed content is insertedinto one or more fields of the web page by the archiving tool. Inembodiments in which the restart condition is detected by the server110, the reconstructed content is inserted by the server 110 into one ormore fields of the web page prior to sending the web page to the client110. The archived information recovery method 200 may include feweroperations or additional operations. In addition, two or more operationsmay be combined and/or the order of the operations may be changed.

FIG. 3 is a flow diagram illustrating an embodiment of a method 300 ofrestoring archived information or content. A web page including anembedded archiving tool is received (310-1). Content provided by a useris stored (312). The stored content may include information that waspreviously transmitted (on one or more occasions) from the client 112(FIGS. 1 and 2) to the server 110 (FIGS. 1 and 2). A web page includingan embedded archiving tool is received (310-2). For example, the usermay request that the web page be down loaded again after a networkfailure. A restart condition is detected (314). A restart condition isdetected by detecting an existence of one or more cookie files and/orone or more archive files that contain stored content. At least a subsetof the stored content is reconstructed and presented (316). The subsetof the stored content may be presented in the web page. In otherembodiments, the archived information recovery method 300 may includefewer operations or additional operations. In addition, two or moreoperations may be combined and/or the order of the operations may bechanged.

FIG. 4 is a flow diagram illustrating an embodiment of a method 500 ofstoring content. The method may be performed by a client computer and/ora server computer. In some embodiments, portions of the method may beperformed at a server while other portions are performed at a clientcomputer. Content provided by a user is received one or more times(410). For example, the content may be received by a web page having oneor more fields for accepting user entered content, and the content mayalso be received by an archiving tool embedded in the web page orotherwise executing on the client computer. The received content isstored (412), for instance in one, two or more cookie files. The timesat which the received content is stored may vary from one embodiment toanother. For instance, in some embodiments, the received content may beoptionally stored when at least a pre-determined number of modificationsto the content occur (414); the received content may be optionallystored after a pre-defined time has elapsed since a previous instance ofstoring the content (416); and/or the received content may be optionallystored when a length of the content increases by at least a pre-definedamount (418). In some embodiments, the process of periodically storingreceived content may enabled whenever the user has entered new contentinto the web page or has modified previously entered content in the webpage. Optionally, the stored content may be compressed (420) and/orencrypted (422). The method of storing content 500 may include feweroperations or additional operations. In addition, two or more operationsmay be combined and/or the order of the operations may be changed.

Attention is now directed towards user interfaces that may be utilizedin some embodiments of an embedded archiving tool for backing upuser-provided data. FIG. 5A is a block diagram illustrating a messagecomposition form or page of an email application program 500. The formmay be implemented as a web page rendered by a browser or other programat a client computer. Message composition form 500 illustrates auser-entry window for composing an email message, include an addresseefield 510, a “cc field” 512 for identifying one or more individuals oremail addresses to be copied, a subject field 514 and a body field 516.The user-entry window includes multiple control icons, including a sendicon 518, a save draft icon 520, a cancel icon 522, a restore icon 524and/or an attachments icon 526. If there are modifications to content,such as the content 528, that are not stored on the server and/or theclient computer, the save draft icon 518 may be highlighted. Thehighlighting may be removed whenever the content is stored on the clientcomputer and/or the server, for example, if the user activates the savedraft icon 520.

Whenever content from the user is automatically saved, a message, suchas “Draft autosaved at 10.15.32 AM” may be displayed. In someembodiments, the save draft icon 520 may be temporarily disabledfollowing an instance of storing the content 528. In these embodiments,the save draft icon 520 may be temporarily grayed out. If additionalchanges are made to the content 528, the save draft icon 520 may beenabled again and its original color may be restored. In someembodiments, a comparison is made between a local stored copy of thecontent and the content 528 when a reply from the server that confirmsthat the content 528 has been stored. If the two are equivalent then thesave draft icon 520 may be disabled and/or grayed out. In this way,changes to the content 528 that occur after the save draft icon 520 hasbeen activated but before a confirmation reply from the server isreceived may be identified. If such as change is found, the save drafticon 520 may not be disabled and/or grayed out.

If the user activates the send icon 518 or the cancel icon 522, the oneor more archive files, such as one or more cookie files, may be deleted,erased or overwritten on the server and/or the client computer. If theuser activates the save draft icon 520, one or more archive filescorresponding to content in one or more fields, such as the content 528in the body field 516, may be created. Alternatively, the one or morearchive files may be created (e.g., by the archiving tool describeabove) as content is provided or changed, or at pre-determined timeintervals while content is being entered or changed by the user. If theuser actives the restore icon 524, the content stored in the one or morearchive files may be reconstructed and presented. The content stored inthe one or more archive files may be reconstructed (e.g., by areconstruction module) and presented if the email application program500 is restarted before the user activates the send icon 518 or thecancel icon 522. In some embodiments, the restore icon 524 may behighlighted in the event that the restart condition is detected, such asby the existence of the one or more archive files.

FIG. 5B is a block diagram illustrating a message composition form orpage of an email application program 550. Content 562 in the body field516 includes a content-saved message that is displayed when a userrestarts the browser and/or the application program following a crash oraccidental closure of the browser and/or the application program.

Attention is now given to hardware and systems that may utilize and/orimplement the embodiments of the embedded archiving tool, such asmethods 100, 200, 300 or 400, discussed above. FIG. 6 is a block diagramillustrating an embodiment of a server 600.

The server 600 may include at least one data processor or centralprocessing unit (CPU) 610, one or more optional user interfaces 614, acommunications or network interface 622 for communicating with othercomputers, servers and/or clients, memory 624, and one or more signallines or communication busses 612 for coupling these components to oneanother. The user interface 614 may include a display 618, a keyboard616 and/or a pointer 620, such as a mouse, trackball or touch sensitivepad.

Memory 624 may include high-speed random access memory, such as DRAM,SRAM, DDR RAM or other random access solid state memory devices, and mayinclude non-volatile memory, such as one or more magnetic disk storagedevices, optical disk storage devices, flash memory devices, or othernon-volatile solid state storage devices. Memory 624 may optionallyinclude one or more storage devices remotely located from the CPU(s)610. Memory 624 may store an operating system 626, such as LINUX, UNIXor WINDOWS, that includes procedures (or a set of instructions) forhandling basic system services and for performing hardware dependenttasks. Memory 624 may also store communication procedures (or a set ofinstructions) in a network communication module 628. The communicationprocedures are used for communicating with clients, such as the client112 (FIG. 1), and with other servers and computers.

Memory 624 may also store a web server module (or a set of instructions)630, a web-page processor module (or a set of instructions) 632, a webpage 634, one or more application programs (or sets of instructions)644, a user verification module (or a set of instructions) 646, anoptional reconstruction module (or a set of instructions) 648, andinformation data storage 650. The web page 634 may include contentinformation 636 and an archiving tool (or a set of instructions) 638.The archiving tool 638 may optionally include encryption/decryptionmodule (or a set of instructions) 640 and may optionally include acompression module (or a set of instructions) 642. The information datastorage 650 may include archive data files 652 for one or more users.The reconstruction module 648 may be used to restore content, usinginformation stored in one or more archive files, when a restartcondition is detected.

Although FIG. 6 shows the server 600 as a number of discrete items, FIG.6 is intended more as a functional description of the various featureswhich may be present in the server 600 rather than as a structuralschematic of the embodiments described herein. In practice, and asrecognized by those of ordinary skill in the art, the functions of theserver 600 may be distributed over a number of servers or computers,with various groups of the servers performing particular subsets ofthose functions. Items shown separately in FIG. 6 could be combined andsome items could be separated. For example, some items shown separatelyin FIG. 6 could be implemented on single servers and single items couldbe implemented by one or more servers. The actual number of servers andhow features are allocated among them will vary from one implementationto another, and may depend in part on the amount of information storedby the server 600 and/or the amount data traffic that the server 600must handle during peak usage periods as well as during average usageperiods.

FIG. 7 is a block diagram illustrating an embodiment of a clientcomputer or device 700. The client computer or device 700 includes atleast one data processor or central processing unit (CPU) 710, one ormore optional user interfaces 714, a communications or network interface722 for communicating with other computers, servers and/or clients,memory 724 and one or more signal lines and/or communication busses 712for coupling these components to one another. The user interface 714 mayhave one or more keyboards 716, a pointer device 720 such as mouse,trackball or touch sensitive pad, and/or one or more displays 718.

Memory 724 may include high-speed random access memory, such as DRAM,SRAM, DDR RAM or other random access solid state memory devices, and mayinclude non-volatile memory, such as one or more magnetic disk storagedevices, optical disk storage devices, flash memory devices, or othernon-volatile solid state storage devices. Memory 724 may optionallyinclude one or more storage devices remotely located from the CPU(s)710. Memory 724 may store an operating system 726, such as LINUX, UNIXor WINDOWS, that includes procedures (or a set of instructions) forhandling basic system services and for performing hardware dependenttasks. Memory 724 may also store communication procedures (or a set ofinstructions) in a network communication module 728. The communicationprocedures are used for communicating with the server 600 (FIG. 6) orany specified website or URL accessible to the client computer or device700.

Memory 724 may also include a browser or browser tool module 730 (or aset of instructions). The browser 730 may be used to render various webpages, including a web page having an embedded web-page archiving tool.As discussed elsewhere in this document, the web-page archiving tool maybe embedded in one or more web pages received from a remote server andrendered by the browser or browser tool module 730. In some clients, thebrowser 730 may render the web page 634. The web page 634 may includethe content information 636 and the archiving tool (or a set ofinstructions) 638. The archiving tool 638 may optionally include anencryption/decryption module (or a set of instructions) 640 and mayoptionally include a compression module (or a set of instructions) 642.

Memory 724 may also include an optional user verification module (or aset of instructions) 646, an optional change log 732, one or moreapplications programs (or a set of instructions) 734, an optionalreconstruction module (or a set of instructions) 736, and cookieinformation data storage 738. The cookie information data storage 738may include one or more cookies 740. The change log 732 may be used totrack changes to the one or more stored archive files, such as cookies740-1 and 740-2, and/or to roll-back a recent change to the content,i.e., to restore a previously stored version of the content. Forinstance, the change log 732 may include multiple entries, each having atime stamp, a cookie file name or identifier, and optionally informationindicating content changes associated with the change log entry. Thereconstruction module 736 may be used to restore content, usinginformation stored in one or more archive files, when a restartcondition is detected.

In embodiments where the client computer or device 700 is coupled to theserver 600 (FIG. 6), one or more of the modules and/or applications inmemory 724 may be stored in the server 600 (FIG. 6) at a differentlocation than the user. In particular, in some embodiments the web-page634, including the content information 636 and the archiving tool 638,and/or the user verification module 646 may be contained in either theserver 600 (FIG. 6) and/or the client computer or device 700. Similarly,the reconstruction module 736 may be located at the server 600 insteadof the client computer or device 700, in which case reconstruction ofthe user entered content is performed at the server 600 based on userprovided content (if any) saved at the server and user provided contentin cookie files retrieved from the client computer or device 700 and/orarchive files in the server 600 (FIG. 6).

Each of the above identified modules and applications corresponds to aset of instructions for performing one or more functions describedabove. These modules (i.e., sets of instructions) need not beimplemented as separate software programs, procedures or modules. Thevarious modules and sub-modules may be rearranged and/or combined.Memory 724 may include additional modules and/or sub-modules, or fewermodules and/or sub-modules. Memory 724, therefore, may include a subsetor a superset of the above identified modules and/or sub-modules.

Attention is now given to data structures that may be utilized inconjunction with the embedded archiving tool and the related hardwarediscussed above. FIG. 8 is a block diagram illustrating an embodiment ofa server data structure 800. The data structure 800 may include aplurality of archive files 810 that include user data. A respectivearchive file, such as archive file 810-2, may include a URL pattern 812,a user ID 814, and one or more pairs of data. A respective pair of datamay include position information 816-1 and content 818-1. In someembodiments, the data structure 800 may include fewer or additionalelements, two or more elements may be combined, and/or a position of oneor more elements may be changed.

FIG. 9 is a block diagram illustrating an embodiment of a cookie file900, which may be stored on a client computer and/or a server. Thecookie file 900 may include multiple entries, including a URL pattern910, a user identification 912, and/or one or more entries includingposition information (for example, for a respective field in a web pageor window) 914 and content 916. The cookie file 900 may also include oneor more time stamps corresponding to the content 916 and/or one or morename (or attribute)-value pairs. In some embodiments, the cookie file900 may include fewer or additional elements, two or more elements maybe combined, and/or a position of one or more elements may be changed.

The foregoing descriptions of specific embodiments of the presentinvention are presented for purposes of illustration and description.They are not intended to be exhaustive or to limit the invention to theprecise forms disclosed. Rather, it should be appreciated that manymodifications and variations are possible in view of the aboveteachings. The embodiments were chosen and described in order to bestexplain the principles of the invention and its practical applications,to thereby enable others skilled in the art to best utilize theinvention and various embodiments with various modifications as aresuited to the particular use contemplated.

1. A computer-implemented method performed by a host system having oneor more processors, the method comprising: sending, by the one or moreprocessors, first information to a client system via a communicationnetwork, the first information including content of a structureddocument and an embedded archiving tool; automatically receiving, by theone or more processors, one or more inputs from the client system viathe communication network, the one or more inputs including user-editedinformation for the structured document; in response to automaticallyreceiving the one or more inputs, making one or more changes to a backupcopy to second information stored by the host system; determining, bythe one or more processors, an unintended restart condition for thestructured document; and in response to determining the unintendedrestart condition for the structured document, sending at least aportion of the backup copy to the client system.
 2. The method of claim1, wherein the unintended restart condition is a crash or accidentalclosure of the structured document.
 3. The method of claim 1, whereindetermining the unintended restart condition includes performing arecovery process, the recovery process including receiving a requestfrom the client system to provide information from the backup copy tothe client system.
 4. The method of claim 3, wherein the recoveryprocess further includes verifying a user associated with the backupcopy.
 5. The method of claim 1, wherein determining the unintendedrestart condition for the structured document is based on detecting arestart condition.
 6. The method of claim 5, wherein the restartcondition is detected by the host system.
 7. The method of claim 6,wherein the restart condition is detected by the host system based on anexistence of one or more archive files stored by the host system.
 8. Themethod of claim 6, wherein the restart condition is detected by the hostsystem by sending a request to the client system for informationcorresponding to a particular identifier associated with the structureddocument.
 9. The method of claim 1, wherein the structured document is aweb page.
 10. The method of claim 9, wherein the embedded archiving toolis embedded in web page instructions of the first information.
 11. Themethod of claim 9, wherein the embedded archiving tool is configured toarchive content provided by a user to an application program via the webpage.
 12. The method of claim 11, wherein the application program isselected from the group consisting of an email application, a textprocessor, a spread sheet application, a presentation authoring tool, ablog authoring tool, a web page-based form for entering information tobe stored in a server, a web-page authoring tool, and an advertisingprogram registration tool.
 13. The method of claim 9, wherein sending atleast the portion of the backup copy to the client system includesinserting restructured content into one or more fields of the structureddocument.
 14. The method of claim 1, wherein the embedded archiving toolis configured to archive content provided by a user when an archivingcondition is satisfied.
 15. The method of claim 14, wherein thearchiving condition is at least one of: when at least a pre-determinednumber of modifications to content have occurred, when a length of thecontent increases by at least a pre-defined amount, when an applicationprogram is closed, or when a web browser is closed.
 16. A host systemcomprising: memory configured to store first information, the firstinformation including content of a structured document and an embeddedarchiving tool; and one or more processors operatively coupled to thememory, the one or more processors being configured to: send the firstinformation to a client system via a communication network;automatically receive one or more inputs from the client system via thecommunication network, the one or more inputs including user-editedinformation for the structured document; in response to automaticallyreceiving the one or more inputs, make one or more changes to a backupcopy to second information stored by the host system; determine anunintended restart condition for the structured document; and inresponse to determining the unintended restart condition for thestructured document, send at least a portion of the backup copy to theclient system.
 17. The host system of claim 16, wherein determination ofthe unintended restart condition includes performing a recovery process,the recovery process including receiving a request from the clientsystem to provide information from the backup copy to the client system.18. The host system of claim 16, wherein determination of the unintendedrestart condition for the structured document is based on detecting arestart condition.
 19. A non-transitory computer-readable storage mediumhaving instructions stored thereon, the instructions, when executed byone or more processors, causing the one or more processors to perform amethod comprising: sending first information to a client system via acommunication network, the first information including content of astructured document and an embedded archiving tool; automaticallyreceiving one or more inputs from the client system via thecommunication network, the one or more inputs including user-editedinformation for the structured document; in response to automaticallyreceiving the one or more inputs, making one or more changes to a backupcopy to second information stored by the host system; determining anunintended restart condition for the structured document; and inresponse to determining the unintended restart condition for thestructured document, sending at least a portion of the backup copy tothe client system.
 20. The non-transitory computer-readable storagemedium of claim 19, wherein determining the unintended restart conditioneither: includes performing a recovery process including receiving arequest from the client system to provide information from the backupcopy to the client system; or is based on detecting a restart condition.